<?php
/**

 * User:ayou chow
 * Date: 2020-02-12
 * Time: 14:25
 */

namespace app\common\model;


use think\Model;

class TennisMatcheventModel extends Model
{
    public function area(){
        return $this->hasOne('TennisAreaModel','id','category_id');
    }

    public function country(){
        return $this->hasOne('TennisCountryModel','id','country_id');
    }
}